<?php
  include("preload.php");
  include("issue.php");
  include("conn.php");
  
  $command = $_POST['url'];
  switch ($command) {

    case 'login': login(); break;
    case 'getSwiper': getSwiper(); break;
    case 'register': register(); break;
    case 'updateUser': updateUser(); break;

    case 'getIssue': getIssue(); break;
    case 'submit': submit(); break;

    
    default: print_r(json_encode('Url Error'));  
  }

  
  
?>



